/*
 * Copyright (c) 2022 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#include "ola_pal_store.h"

/*
 * 功能: 存储初始化
 * 返回: 0，初始化成功
 *       -1，初始化失败
 */
int OlaStoreInit(void)
{
    return 0;
}

/*
 * 功能: 存储去初始化
 * 返回: 0，去初始化成功
 *       -1，去初始化失败
 */
int OlaStoreDeinit(void)
{
    return 0;
}

int OlaStoreSet(const char *key, const unsigned char *value, unsigned int len)
{
    (void)key;
    (void)value;
    (void)len;
    return 0;
}

int OlaStoreGet(const char *key, unsigned char *value, unsigned int *len)
{
    (void)key;
    (void)value;
    (void)len;
    return 0;
}

int OlaStoreDel(const char *key)
{
    (void)key;
    return 0;
}
